home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Internet Info 1994 March
/
Internet Info CD-ROM (Walnut Creek) (March 1994).iso
/
networking
/
ip
/
ka9q
/
src890906.arc
/
ASY.H
< prev
next >
Wrap
C/C++ Source or Header
|
1989-08-18
|
869b
|
33 lines
#ifndef ASY_MAX
#include "global.h"
#define ASY_MAX 5 /* Five asynch ports allowed on the PC */
extern unsigned Nasy;
#define SLIP_MODE 0
#define AX25_MODE 1
#define NRS_MODE 2
/* In 8250.c: */
int asy_init __ARGS((int16 dev,struct iface *iface,char *arg1,char *arg2,
unsigned bufsize));
int asy_ioctl __ARGS((struct iface *iface,int argc,char *argv[]));
void asy_output __ARGS((unsigned dev,char *buf,unsigned short cnt));
int asy_speed __ARGS((int16 dev,int speed));
int asy_stop __ARGS((struct iface *iface));
void asyint __ARGS((unsigned dev));
char get_asy __ARGS((int16 dev));
int stxrdy __ARGS((int16 dev));
/* In asyvec.asm: */
INTERRUPT asy0vec __ARGS((void));
INTERRUPT asy1vec __ARGS((void));
INTERRUPT asy2vec __ARGS((void));
INTERRUPT asy3vec __ARGS((void));
INTERRUPT asy4vec __ARGS((void));
#endif /* ASY_MAX */